package com.example.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
public class Doctor {
    private Integer id;
    private String name;
    private Integer age;
    private Integer sex;
    private Integer level_id;
    private String phone;
    private Integer type_id;
    private String hospital;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updatetime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createtime;
    private Integer account_id;
    private String treatType;
    private String doctorLevel;
    private String pwd;
}
